<!--
 * @: 
 * @Version: 1.0
 * @Autor: ziwei
 * @Date: 2021-09-27 16:17:02
 * @LastEditors: ziwei
 * @LastEditTime: 2021-09-27 18:15:11
-->
<template>
  <div class="home">
    首页
    <hr>
    <router-link to='/a'>a页面</router-link>
    <router-link to='/b'>b页面</router-link>
    <hr>
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name:'Home',
  components:{
    helloWorld
  },
  mounted(){
    console.log(this.route)
    console.log(this.$route)
  }
}
</script>

<style>

</style>